package com.web.data.controller;

import com.web.data.bean.taxi;
import com.web.data.dao.taxiMysql;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@RestController
@RequestMapping("/taxi")
public class controller {

    @Autowired
    private taxiMysql taxiMysql;

    @RequestMapping("/data/list/passengercount")
    public List<taxi> passengercount() {
        List<taxi> list = taxiMysql.passengercount();
        return list;
    }

    @RequestMapping("/data/list/tipamount")
    public List<taxi> tipamount() {
        List<taxi> list = taxiMysql.tipamount();
        return list;
    }

    @RequestMapping("/data/list/totalamount")
    public List<taxi> totalamount() {
        List<taxi> list = taxiMysql.totalamount();
        return list;
    }

    @RequestMapping("/data/list/tollsamount")
    public List<taxi> tollsamount() {
        List<taxi> list = taxiMysql.tollsamount();
        return list;
    }

    @RequestMapping("/data/list/extra")
    public List<taxi> extra() {
        List<taxi> list = taxiMysql.extra();
        return list;
    }

    @RequestMapping("/data/list/tripdistance")
    public List<taxi> tripdistance() {
        List<taxi> list = taxiMysql.tripdistance();
        return list;
    }

    @RequestMapping("/data/list/ratecodeid")
    public List<taxi> ratecodeid() {
        List<taxi> list = taxiMysql.ratecodeid();
        return list;
    }

    @RequestMapping("/data/list/vendorid")
    public List<taxi> vendorid() {
        List<taxi> list = taxiMysql.vendorid();
        return list;
    }

    @RequestMapping("/data/list/lpeppickupdatetime")
    public List<taxi> lpeppickupdatetime() {
        List<taxi> list = taxiMysql.lpeppickupdatetime();
        return list;
    }

    @RequestMapping("/data/list/lpepdropoffdatetime")
    public List<taxi> lpepdropoffdatetime() {
        List<taxi> list = taxiMysql.lpepdropoffdatetime();
        return list;
    }

    @RequestMapping("/data/list/pulocationid")
    public List<taxi> pulocationid() {
        List<taxi> list = taxiMysql.pulocationid();
        return list;
    }

    @RequestMapping("/data/list/dolocationid")
    public List<taxi> dolocationid() {
        List<taxi> list = taxiMysql.dolocationid();
        return list;
    }

    @RequestMapping("/data/list/improvementSurcharge")
    public List<taxi> improvementSurcharge() {
        List<taxi> list = taxiMysql.improvementSurcharge();
        return list;
    }

    @RequestMapping("/data/list/storeandfwdflag")
    public List<taxi> storeandfwdflag() {
        List<taxi> list = taxiMysql.storeandfwdflag();
        return list;
    }

    @RequestMapping("/data/list/mtatax")
    public List<taxi> mtatax() {
        List<taxi> list = taxiMysql.mtatax();
        return list;
    }

    @RequestMapping("/data/list/fareamount")
    public List<taxi> fareamount() {
        List<taxi> list = taxiMysql.fareamount();
        return list;
    }

    @RequestMapping("/data/list/passengercount2")
    public List<taxi> passengercount2() {
        List<taxi> list = taxiMysql.passengercount2();
        return list;
    }

    @RequestMapping("/data/list/passengercount3")
    public List<taxi> passengercount3() {
        List<taxi> list = taxiMysql.passengercount3();
        return list;
    }

    @RequestMapping("/data/list/passengercount4")
    public List<taxi> passengercount4() {
        List<taxi> list = taxiMysql.passengercount4();
        return list;
    }

    @RequestMapping("/data/list/passengercount6")
    public List<taxi> passengercount6() {
        List<taxi> list = taxiMysql.passengercount6();
        return list;
    }

    @RequestMapping("/data/list/passengercount1")
    public List<taxi> passengercount1() {
        List<taxi> list = taxiMysql.passengercount1();
        return list;
    }

    @RequestMapping("/data/list/passengercount5")
    public List<taxi> passengercount5() {
        List<taxi> list = taxiMysql.passengercount5();
        return list;
    }

    @RequestMapping("/data/list/passengercounttriptype1")
    public List<taxi> passengercounttriptype1() {
        List<taxi> list = taxiMysql.passengercounttriptype1();
        return list;
    }

    @RequestMapping("/data/list/passengercounttriptype2")
    public List<taxi> passengercounttriptype2() {
        List<taxi> list = taxiMysql.passengercounttriptype2();
        return list;
    }

    @RequestMapping("/data/list/passengercountratecodeid6")
    public List<taxi> passengercountratecodeid6() {
        List<taxi> list = taxiMysql.passengercountratecodeid6();
        return list;
    }

    @RequestMapping("/data/list/passengercountratecodeid1")
    public List<taxi> passengercountratecodeid1() {
        List<taxi> list = taxiMysql.passengercountratecodeid1();
        return list;
    }

    @RequestMapping("/data/list/passengercountratecodeid2")
    public List<taxi> passengercountratecodeid2() {
        List<taxi> list = taxiMysql.passengercountratecodeid2();
        return list;
    }

    @RequestMapping("/data/list/passengercountratecodeid3")
    public List<taxi> passengercountratecodeid3() {
        List<taxi> list = taxiMysql.passengercountratecodeid3();
        return list;
    }

    @RequestMapping("/data/list/passengercountratecodeid4")
    public List<taxi> passengercountratecodeid4() {
        List<taxi> list = taxiMysql.passengercountratecodeid4();
        return list;
    }

    @RequestMapping("/data/list/passengercountratecodeid5")
    public List<taxi> passengercountratecodeid5() {
        List<taxi> list = taxiMysql.passengercountratecodeid5();
        return list;
    }

    @RequestMapping("/data/list/puLocationidsum")
    public List<taxi> puLocationidsum() {
        List<taxi> list = taxiMysql.puLocationidsum();
        return list;
    }

    @RequestMapping("/data/list/doLocationidsum")
    public List<taxi> doLocationidsum() {
        List<taxi> list = taxiMysql.doLocationidsum();
        return list;
    }
}
